window.onload = function(){
    let showBtnArr = document.getElementsByClassName('fa-angle-down');
    let detailetBoxArr = document.getElementsByClassName('item-content');

    for(let i=0;i<detailetBoxArr.length;i++)
    {
        detailetBoxArr[i].style.display = 'none';
    }
    for(let i=0;i<showBtnArr.length;i++){
        showBtnArr[i].onclick = function(){
            if(detailetBoxArr[i].style.display=='none')
            {
                for(let i=0;i<detailetBoxArr.length;i++)
    {
        detailetBoxArr[i].style.display = 'none';
    }
                detailetBoxArr[i].style.display='block';
            }
            else{
                detailetBoxArr[i].style.display='none';
            }
        }
    }

}